FROM java:8
VOLUME /tmp
ADD ./dean-getway.jar /dean-getway.jar
RUN bash -c 'touch /dean-getway.jar'
EXPOSE 9000
ENTRYPOINT ["java","-jar", "-Dspring.profiles.active=test", "/dean-getway.jar"]